function logDetailsDialog(
    {
        controllerName,
        actionName,
        controllerDescription,
        actionDescription,
        beginTime,
        endTime,
        parameter,
        responseCode,
        responseMessage,
        response,
        clientIp,
        userId,
        userName,
    }
) {
    const $widget = $(`
        <div style="max-height: 500px;padding:0;overflow: auto;overflow-x:hidden">
            <div class="row mb20">
                <div class="col-xs-6">
                    <span class="col-xs-4">模块：</span>
                    <span class="col-xs-8">${controllerDescription || controllerName || "-"}</span>
                </div>
                <div class="col-xs-6">
                    <span class="col-xs-4">方法：</span>
                    <span class="col-xs-8">${actionDescription || actionName || "-"}</span>
                </div>
            </div>
            <div class="row mb20">
                <div class="col-xs-6">
                    <span class="col-xs-4">Code：</span>
                    <span class="col-xs-8">${responseCode || "-"}</span>
                </div>
                <div class="col-xs-6">
                    <span class="col-xs-4">Message：</span>
                    <span class="col-xs-8">${responseMessage || "-"}</span>
                </div>
            </div>
            <div class="row mb20">
                <div class="col-xs-6">
                    <span class="col-xs-4">开始时间：</span>
                    <span class="col-xs-8">${beginTime || "-"}</span>
                </div>
                <div class="col-xs-6">
                    <span class="col-xs-4">结束时间：</span>
                    <span class="col-xs-8">${endTime || "-"}</span>
                </div>
            </div>
            <div class="row mb20">
                <div class="col-xs-6">
                    <span class="col-xs-4">请求人：</span>
                    <span class="col-xs-8">${userName || "-"}</span>
                </div>
                <div class="col-xs-6">
                    <span class="col-xs-4">IP：</span>
                    <span class="col-xs-8">${clientIp || "-"}</span>
                </div>
            </div>
            <div class="row mb20">
                <div class="col-xs-12">
                    <span class="col-xs-2">userId：</span>
                    <span class="col-xs-10">${userId || "-"}</span>
                </div>
            </div>
            <div class="row mb20">
                <div class="col-xs-12">
                    <span class="col-xs-2">请求参数：</span>
                    <span class="col-xs-10">
                        <pre><code>${parameter}</code></pre>
                    </span>
                </div>
            </div>
            <div class="row mb20">
                <div class="col-xs-12">
                    <span class="col-xs-2">返回结果：</span>
                    <span class="col-xs-10">
                        <pre><code>${response}</code></pre>
                    </span>
                </div>
            </div>
        </div>
    `);

    const $dialogWidget = $.dialog($widget, {
        title: "日志详情",
        width: "700px",
        cancel: null,
        ok: null
    })

    hljs.highlightAll();


    return $dialogWidget;

}